package com.tadpole.music.bean.me;

import com.google.gson.annotations.SerializedName;

/**
 * Created By 孙岩
 * on 2020/9/23
 */
public class WeChatPayBean {

    /**
     * code : 200
     * data : {"appid":"wxa1f8528f7cd426df","noncestr":"aa2ZEthEswWDr4tL","package":"Sign=WXPay","partnerid":"1600555983","prepayid":"wx2316201152613342ca3a1c2b6f95200000","sign":"D413F6862A03E4712BC6B7F2ED034E21","timestamp":"1600849211"}
     * msg : success
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * appid : wxa1f8528f7cd426df
         * noncestr : aa2ZEthEswWDr4tL
         * package : Sign=WXPay
         * partnerid : 1600555983
         * prepayid : wx2316201152613342ca3a1c2b6f95200000
         * sign : D413F6862A03E4712BC6B7F2ED034E21
         * timestamp : 1600849211
         */

        private String appid;
        private String noncestr;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private String timestamp;

        public DataBean(String appid, String noncestr, String packageX, String partnerid, String prepayid, String sign, String timestamp) {
            this.appid = appid;
            this.noncestr = noncestr;
            this.packageX = packageX;
            this.partnerid = partnerid;
            this.prepayid = prepayid;
            this.sign = sign;
            this.timestamp = timestamp;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}
